package com.sunxueqi.project.system.vo;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonInclude;

//序列化时，如果是null则会忽略
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Meta implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 路由在侧边栏和面包屑中展示的名字
	 */
	private String title;

	/**
	 * 该路由的图标
	 */
	private String icon;
	
	/**
	 * iframe的路径
	 */
	private String iframeSrc;
	
	/**
	 * 是否开启缓存
	 */
	private Boolean keepAlive;
	

	public Meta() {
	}

	public Meta(String title, String icon, String iframeSrc, Boolean keepAlive) {
		this.title = title;
		this.icon = icon;
		this.iframeSrc = iframeSrc;
		this.keepAlive = keepAlive;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getIframeSrc() {
		return iframeSrc;
	}

	public void setIframeSrc(String iframeSrc) {
		this.iframeSrc = iframeSrc;
	}

	public Boolean getKeepAlive() {
		return keepAlive;
	}

	public void setKeepAlive(Boolean keepAlive) {
		this.keepAlive = keepAlive;
	}
	

}
